projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7a8ad1
)
(direct-print-region-helper): Check for printer
author
Geoff Voelker
<voelker@cs.washington.edu>
Thu, 28 Jan 1999 04:48:30 +0000
(
04:48
+0000)
committer
Geoff Voelker
<voelker@cs.washington.edu>
Thu, 28 Jan 1999 04:48:30 +0000
(
04:48
+0000)
being t as well as a string.
lisp/dos-w32.el
patch
|
blob
|
history
diff --git
a/lisp/dos-w32.el
b/lisp/dos-w32.el
index 825281b11f811b2790cee84742ae504e97ea6489..2d5377ef747701b331ff39136cad15542b507023 100644
(file)
--- a/
lisp/dos-w32.el
+++ b/
lisp/dos-w32.el
@@
-292,7
+292,7
@@
filesystem mounted on drive Z:, FILESYSTEM could be \"Z:\"."
;; asking command.com to copy the file.
;; No action is needed for UNC printer names, which is just as well
;; because `expand-file-name' doesn't support UNC names on MS-DOS.
- (if (
not (string-match "^\\\\" printer
))
+ (if (
and (stringp printer) (not (string-match "^\\\\" printer)
))
(setq printer (expand-file-name printer safe-dir)))
;; Handle known programs specially where necessary.
(unwind-protect